How to use scripts in an integration Test