Move checks for .bashrc and .bash_profile from cluster_install into scidb_prepare.sh
That way its done on each host