This is a custom modification to make this module work with ubuntu. These changes should be removed and replaced by the original module when this gets more matture