added SD card logging and update rail move function