minor script alterations
minor script alterations