Added var dir to store backups and logs.