prepare for build