added studyvariable script