editted hack for ubuntu