Fixed profiles.json that broke the whole script.