added some sugar for attachment urls