script minor changes