I have just tried typing in:
'chmod 755 metacity.sh' (thats the name of the script I created) and it seems to have done something. I suppose I have to restart Redhat for the script to take effect.
Edit: I have just ran the script and now I can change the themes
. I was typing $chmod, instead of just chmod like you said so thanks for the advice.