added support for pyinstaller