using stack settings instead of static url