i am sure that there should be also quotes in the shell script cause the KEYCHAINPWD variable was made in the same way than the encrpytpwd