Weird variable error

Okay, so, I’ve narrowed it down to being an issue somehow related to the smPlugin. If I comment out the save stuff, everything works fine, but when I have it running, the saving works fine, but certain conditional choices and variables no longer appear correctly.

I’m guessing it’s either that I’ve inadvertantly downloaded an old version of the plugin (I had a good scroll about through this thread: ChoiceScript Saving Plugin (Update: Sept. 2019), but couldn’t be sure.)

OR I’ve set up the plugin slightly wrong somehow, either in terms of the .sj stuff in index.html, or the position of the *sm_init command.

index.html (in my ‘web’ folder) looks like this:

While the *sm_init command is like this:

*title Writers Are Not Strangers
*author Notagoth
*scene_list
startup
rating
ch1
rating_outcome
ch2
*comment testing save system, remove before submission to CS
*create career 5
*create positivity 5
*create family 5
*create dreams 5
*create billie 5
*create annie 5
*create rating 0
*create billie_present false
*create coffee false
*create billie_drinks false
*create billie_waiting false
*create myboxx1 false
*create hospital1 false
*create party1 false
*create writing1 false
*create video1 false
*create auntmaudeadvice false
*create alix 5
*comment myboxx1, hospital1 and party1 all determine whether or not these sections have already been visited. Will set to
*comment true once visited to prevent circular paths forming.
*create relative “”
*create relative_gender_him_her “”
*create relative_gender_he_she “”
*create relative_gender_his_hers “”
*create pet_type “”
*create pet_gender “”
*create pet_pronoun_him_her “”
*create pet_pronoun_he_she “”
*create pet_pronoun_his_hers “”
*create pet_pronoun_selves “”
*create petname “”
*create pettreat “”
*create shortstorytype “”
*create anniescarf false
*create videotype “”
*create rock false
*sm_init mygame | 2

Any ideas?