Make dirname $0 work in scripts by, squash me