script for experimenting in the grid