Create controller for showing the result, modified the server code to execute external script