got attachment uploads working