First you should test the script before including it any start up scripts. Use your favorite text editor, enter the stuff, save and exit. From a shell make it executable using chmod, example
Code:
chmod 744 testscript
Then run the script and see what happens.
Might help if you posted the script in code box for us to review.