small changes to work with demo, working version before changing pin assignments to RAMPS board