Added scala for custom command.