added image sequence support