added hook system
better reloading for supervisors