updated build.sh not to include directories, and dependencies