more modifications

now works on debian!