updated remote api template
little scripting ui improvement