Why use a anything less than a Hammer to manage your zram?
zhammer is a utility to manage zram devices on your linux system easily and reliably
INSTALL: Just put zhammer.py somewhere on your path, and edit the shebang. Then copy ztab to /etc/ztab, and edit to your system's needs.