updated so load_table uses csv if rds not available