updating platypus to work with window