Further work on executable building (though may abandon this approach); add todo for custom modes