Removed reference to environment variables
Uncommented and fixed code for attachments and changed so it links back to original Bugzilla attachments