Added script autorun capabilities.