Updated deploy mechanism.