Fix json script bug with wrong quotes for strings
Made profile saving