Updated template
Updated deploy method