added the '-i' flag to the shell command