Add ability to set autostart timer duration. Set to -1 to disable.