Made world generator from script working