fix for portable version: use its own directory