changed to work on my Ubuntu 12.04 machine