Allow script reloading

We were correctly using 'function!' and 'command!' but we didn't let
execution ever get to the function definition after the first pass.
Merge pull request #4 from danielbeardsley/reloadable

Allow script reloading