add support for code reloading