CM3: lm3s scripts and configurations refactoring.