use path from stc as dir for execute