add userconfig support. fixed #3

rt