Fixing home.sh installation bugs