Integrate templates and workflow to replace paths for dev and deploy