added version check to the create_obiconfig function