Added resolve url to make sure it works in all iis locations it may run in.