CPS: Support importing executables

Fixes: #27964
16 files changed