added handling when no configuration is passed