wrapper: make script work from other working directories