adding a script to check the progress