Fix for Windows app script