adding centos version and few changes to ubuntu