fixing attachment id retrieval, still working on actually getting attachments