generate different activation scripts on MacOS and Linux