this script can run from non-src dir now.