let script work without mysql db attached