Updating the build script.
Integrating ehdb so that all the querying will be synchronous, rather than asynchronous.