Fixed import and refactored slightly.
Server adds exec file to PATH correctly and replies to requests!

Yay! Never code when sleepy.