fixed printouts and file path issue

-revised print statements
-fixed relative path issue with attachments