Added gallery skipping and fixed gallery steps