User defined number of records to insert now working