removed python3 module load, removed subset chr, added automatic directory creation