Updated deploy scheme so it actually works