slight modifications to grid generation and processor file generation