added another end for the shell run statement