added ability to pass custom json on deployment