working on wpsfetch script