block scripts fix