remove getScriptPath() and update documentation