Added check on execute for errors