Add comments and fix profile installation