implemented plot check, added config value