Press the good old Green Flag. You know you want to. The scripts inside of this are designed to be used with OS Simulators. Comments inside tell you what stuff does. Use freely, but please give credit to @freelinuxgeek, as I did not design this algorithm, I only modified it.
Most to @freelinuxgeek, but I formatted the time to HH:MM, not HH:MM:SS because I fell that makes more sense in OS simulators. Also, I just polished up the UI, as I do.