Address CR: pull out opts, chmod +x sh script