Fix for runonce buttons not working

Also change duration from 30 min max to 300 min max