Added some version checking in preparation for multiple Ubuntu version support