ignoring the gallery script