Fixes to drop table error checking and to correct usage of AWS credentials.