mainpilot changes