[Master] Refactor starting auto code to be less shitty