replace "ffmr." ($ORIGIN) with "@" wherever possible, reformatting