Many fixes for building module with global script #8