Made cox_rossi work, avoid the sql file