Spurious single quote and space before `attachment...`.  This doesn't prevent the whole thing from working, but I'll remove it anyway.