Added options + rate management + file reading