BS-1860 : Create a groovy script to call the correct SQL scripts