change run_user_scripts_when_superuser = false to
change run_user_scripts_when_superuser = true

and then change the if condition
if running_superuser then to
if not running_superuser then

of...