updated deply scripts to copy db_functions.php