Revert script to footer; add shim deps for semantic