#183 Script REST API implementation