Finished AtScript port.