Added attachment code

Fix for fonts