modified deploy db and static script