Modified the shell script to get md5 creation working