build script now copying required files