config_global_submit, fixed mkdir for $root and $path variables