updated vector code to start loading.  also updated build script to work better on darwin. prettier formatting