Edits to include selection and rate scripts