Reuse the same script for testing deploy and deploy instance
Allow to wrap Groovy script for deploying them as instance