fixed issue with relative paths on cmd line