figured out problem with start_swift not being run when set to true