Fixed last commit should be if  -eq 0 not if  -gt 0