added bash script to check correct environment before installing