Ya I have been looking into python, but instead of 'sleep' replaced that with a 'sync;sync' to check if the system is being written to. (Was told this is much better to do it twice as the fist time it might wight some code back or something I cant remember why for sure. ) But it starts to play a video prior to the rest of the code., so the video starts and then while its playing the shutdown is started and the actual shutdown is not ran until it get info back that the video is finished. This way the video can be any length I want. :)
Going to look more into python and better methods of doing the shutdown. Once finished I plan to send them the code so they can update it. Any help is apreciated. :)