updates to gallery page, scripts