Added template importing