Fix Ag and backup file paths
Stricter version checks