Add CentOS7 support in script.functions

Add CentOS7 support in script.functions