New script for moving grid