added option to recompile for syntax check

you can force a script to be recompiled and replace the old version in
memory if compilation is successful