Declaring artifacts in global variable to reuse the same