Refactored buildOptions to allow for overriding in another project.