rewrite the directory to ../config