change simulation script to use relatvie path.