added host option for absolute urls