Fixed cli inputs and insert done