Update for PM 1.0 compatability
Merge pull request #5 from macfanatic/pm-10

Update for PM 1.0 compatability