Added lm switch and build success message