MD5 sum, sleep and random functions added