Correctly set $PATH

Correctly set app log dir