Changed it so user inputs time as command arguement