batch script runnable from gravimage/ folder