Updated installation notes and fixed a bug