Updated shellscript