Fixed error in shellscript