updated registry run script