renamed pbar to gmax in imported mod files