VID-1877 New script to mark navigation galleries