add_to_AM_config.rb modified