use abspath of the script to derive local_path
Flight replay demo seems basically done