further changes to support a deb