Changed hardcoded pool name to custom ones
Changed pool name argument order