changes in Refine in order to support calls from a webpage and when we want to call tasks on packages