Reworked checkForceTime function and added scheduler.