Changed the shebang to bash instead of sh, to fix the issue with decrypting the key