Now records script run time in seconds to the .ok file.
Now records PID of the script to the .running file.