Assuming that you did all the other steps correctly, you probably just need to set the permissions to make the file executable.
In a terminal--in the directory where the file is:
ls -l filename ##to show you the current permissions
./filename ##to attempt to run(execute) the file
sudo chmod +x filename ##to set the file "execute" bit on.