Added verbose mode, fixed pdo