No need to write to /dev/stdout, just use print.
New project to generate all necessary ACCESS grids.