Fix `spinach` command not working and run_on_start failing