don't process paths without extensions
update script to 0.1.2

- fix client window variable issue