changed generate script for forge