escript params refactored