removed -x; now works on Linux and Mac