fix hardcoded script directory