Fix the verbosity of the output when writing the new time data (so it actually works). Also stop writing the new time data if it has already been written once
Enable all warnings in the functions rather than have things fail silently