The double invocation during dev mode, while harmless, is confusing, so add an additional small check to insure this only runs once.
The double invocation during dev mode, while harmless, is confusing, so add an additional small check to insure this only runs once.