segregate scripts in build phase