script for WPS env setup