more functionality and processes added to the generate chain module