Fix typo on files arg.
Remove print on successful added record.
Add loop to wait for LB to become active.