translation of auto plugin post
scripting with Scala