Copy and paste implementation of third position args to support aws