Move start_command and group to proper scope