Check deps, check for rows before executing. About to drop this into personal projects to test how bulletproof it is