copied updated main.h to build things dir