Bug fixes and changes. Added script to rebuild closure deps