make build script more generic
rebuild