Create RT_states.sh