added background
Fixed https and async