Scheme can be set from outside now too. Fixed bug.