modified query to obtain list of release script