Modified the install_generator