But your scrit is perfectly ok,
I just tested it. (but I knew it would work all the time :-)
Are you using the same name fore the script as for the alias?
If so, bash would do the alias substitution first, so you script will never get executed.
Try calling your script directly like: