Make script error transferred from agent