Added support for background task