Permit script to run headless (do not require desktop session).
Merge pull request #14 from xurizaemon/issue-14

Permit script to run headless (do not require desktop session). issue #14