Switch Function

Added airport switch function.  needs debugging.