better deploy script, now with db handling