Add javadoc to ScriptManager