Fixed issue #1252 by using 2 different collections to manage shareable and not-shareable script engines