Created global variables with data directories

As per kilianka's request.