script changes for select
script changes