Adding 'prepare_virtual_path' and 'basename' optimizers, using read only parameters as indexes in multi-index array update