fixed small logic error
added sample config for archer