Changed path resolution. It's a bit silly but will do the trick for now.