Minor fix - check status of script run