Added check for bot profile set or not

Updated config file, config writing logic and README.