changed case statement to specify ubuntu
bit of debug