fixing asdm script