Make function section work with pro options