Fixed logic on launch command