Updated/fixed small issues

*Added adv. checking to centos/fedora/rhel base script
*Removed empty lines from ubuntu script