runoptions cleaned up