updated load session script