using correct variable for script load