Remove end at run.m