Added google code and fixed scopes