Added option to pass a params array into called modules