fix parse parameters, add MANIFEST for jar