after each block now the pause screen appears by itself. also the condirion before the endblock is saved in the pause script