New script REST API