Fixed input issues and added translation script