Escript protocol consolidation

The problem is that we would need the full path and those are unique too. My problem is not passing it around it is just that the code is getting complex.