added script to add instances