Script to run batch profile tests