changed things to local vars, started popup script writing
debugging pathmarks