Reading params form hook