fixes #356 by making examples work also from CLI
fixes #356 by making examples work also from CLI

MuhammadAlkarouri/hug,MuhammadAlkarouri/hug,timothycrosley/hug,timothycrosley/hug,MuhammadAlkarouri/hug,timothycrosley/hug