fixed some issues with screenarrangement formula
added debian's verions of xpath