now aligns and merges images