add missing config.h
fix args order
run only as normal user, not root