added support for reloading working if files are modified