pass module through everywhere so that script manager does rely on static var
get merging of script settings working