general cleanup for launch