Created first version for random.lua script