some documentation, and changing the build command to work off mimetypes, like the publish command