figures now automatically saved