Update autocontrol.lua

fix attachment ids