Rasterize script minor fixes

* Repair baseBath end for linux
* Repair baseBath directory for remote executions