Updated PMScript

about 80% done PMScript