Revert "remove warning about uninitialized script"

This reverts commit ab290a8dbb097d7a28f0d5fcd43b7043326ea720.
chnage warning and add a comment on why this is even needed