Simplified launch order and removed some variables as unnecessary