Make nested progn at top level handle commands