fixes static path in deploy db and static script