Place the script under /bin
cp /XXX/XXX.sh /bin/YYY.sh
Then add run permissions
chmod u+x /bin/YYY.sh