added scheme, fixed distribution rule in automake