slide index + camera script