Develop

* Fixed some issues with detection of Cluster/Datacenters
* Fixed a syntax issue due to differences of sh and bash on certain linux distrobutions.