see descriptions for detail

1. datebase file renamed to mgdatabase.db3
2. relative_path & directory_path end with splash
3. new variable fb_env.script_path
fb_util.file_stat also returns file name