modify directory path(use absolute script path)