Need to define constant LOCALFILE in all scripts