added code to handle debian/ubuntu specific configuration