I forgot to tell you that you need to make the above file executable.