Swap away/home for arriving/leaving and flip default codes
Switch argument names and reverse group 2 codes