Change logic to serach psmodule path