move into detection of resources
builds on Centos-6.6