Just stole files from faximan and did some minor customization