make lbp work from any directory