Updated build script

Now it should inject the DB params.