Added generaterand shell script