adds final code for launch