initialize the resources from the runtime parameters before executing