added aws-upload-cert and recover_swapfiles