fixed missing ,
added more feedback to console script