Updated CreateDataMenu to use older syntax (and prevent compile errors)