migrating build related scripts to a build directory