Purge unused scripts