Linked screenshot frequency preferences to controlling code