fixes #93 Added support for user defined datadir on Redhat distros. Rebased...