updated sh script