build files script