Sponge implementation of ModScript