Added option "dirty mode"