- remove python code from Snakefile --> move to script/write_demultiplex_files.py and common.smk - create helper functions in common.smk - remove flag rules - add temp(output) in some rules (output delete when used) (related to #5 and #12)