Script updated - minor changes