Modified the inputforBrain.R and created the terminalTranslator