change params to reference localhost instead AWS