trying to make the bash conditional work...