Add function to server  so that server can call python programs