Add autogen.sh, include example config file
only sleep for positive values