Cleaning up unused flag, fixing backup directory logic.