Setup before worker init