changed to only expand on control file