moved block scripts to head