#21176 added launch_at_startup option, defaults to false.
Also fixed a bug where task creation wasn't working because of a missing
import statement.