Added support in script to pass full window list to haskell