added old gallery generator