split profile into its own template