cleanup awsacct switching functions