Function for adding variable ignore information to the environment.