Add a script to check idls and rsts