Allow script reloading

We were correctly using 'function!' but we didn't let execution
ever get to the function definition after the first pass.