Coalescing parameters file and disabling image writing unless its turned on