Updated assembler.py to latest version