stats script now checks that X11 forwarding is enabled
script no longer runs when X11 not enabled