WorflowService is now api.WorkflowService
when swlock and no dbfile, then take the script
intermediate , mobile stuff