updated amportal.conf.erb