support changing scripts on the fly and reloading them accordningly