agam: Actually adding backup capabilities to the python script