replace amazon s3 by local assets