Add a script to support the Marionette inspector

Resolves #168