Changed flags and added more (new_blob, save_blob, repeats (variable not used atm)).