This uses binreloc - http://autopackage.org/docs/binreloc/ it should also solve the problem of python scripts not being found.