Move db around, fix deploy scripts