Schedule page tabs script fix