chmod version.sh to be execute-able before calling it