-u did not work well
local and global scripts were reversed