updated compile and build scripts