map scripts + ai + disabled line detection