Modify run to generate dependencies on the fly. Remove pregenerated files.