Fixed several bugs in Profile script