Added helper for py2exe freezing