check spotlight before initializing container