Added background process ahndling