Add config and sidebar code