Adding debian, ext and modifying patch