[mklocal.py]: Add stack support