added config for archiver in savePicture function