Adapted scripts to mono 3.4 part 2