fix cites, make build script