auto add script root path for .require