Added parameter passing from console.