add gallery modifications