Write amportal.conf