Moved default time scheduling to a global variable and increased granularity