added a loading variable script