Fixed a bug where thread id wasn't being set. Don't need to deploy data directory automatically