passed env variables wms_* to filter function; added encode properties to pom