localize package; fix s3 and aws to work locally.