reloading generation procedure at runtime