Update baseinfo.sh

additional strings and checks