Confingure base code