altered version of psl1ght for that will compile irisManager