Set dataDir from script environment variable

The updates weren't working for me as the dataDir wasn't being created. This pull request sets the dataDir using the Alfred script environment variable 'alfred_workflow_data', This fixed the issue for me, but does mean that it will only work on Alfred v2.4+.