AutoRecord functionality working