not always use the args of the command line (path)

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>