added auto-screenshot when saving for mapshot