created build script to copy only essential files to /tmp/