Make ." to support both mode now

save a backup for recent progresses.