Fixed scope variables not available in other scripts