fixing the shell script so that IT DOES THE SAME THING ON DIFFERENT FLAVOURS OF LINUX