fixed gen inputs path in script