Config function added