moved snippet on when to run & added chmod instructions

The run command would have broken as the mysql script wasn't in place at the time you mentioned to run.

Also I added a new step to chmod the script...yes this is trivial but I forgot :)