[alex] executable.py cleanup

Pls comment (if needed) and merge into master