Added background task support