modify OS checks in .bashrc