Updated build script to copy database.yml