Fixing restarting missions and removing silly extra functions