Error in AE output script