php scripts adjusted to new LMS class constructor
Merge branch 'master' into nicraM