Change some parameters and file procedures