Added profile template fixed build problems