fixed autorun script