bug fixes, added provisioning function, added worker start on init