Loading a mission with .sh commads

I have make a .sh script to load the mission to avoid typing and setting parameters every now and then…

I wrote the following .sh file.

#!/bin/bash

sim_vehicle.py -v ArduPlane -f jsbsim --console --map

wp load /Tools/autotest/CMAC-circuit.txt

param set SIM_WIND_DIR 180
param set SIM_WIND_SPD 10

It is able to start the console and the map but then no WP load happens … any idea how can I do that?