added time settings to .py