Fixed attachment extensions & logging