refactor mission export