remove readline, use commandArgs