make working directory configurable

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>