Added spring profile support