complete script defines
getting ready for new file merge