Prototype to load parameters from script