trying to add AWS to outfile, currently not working