applying the changes to main files