added some stuff that eventually will handle prerequisite files.