Fix global variable names

Add unique file specific prefix to the lot