changes to the build formula from Jamie