Adding support for ubuntu previous versions