Reinstate scripts from the original plugin not checked into the GitHub repo