ath25: rework image building