Added an option for enabling/disabling background processing