tweaked for pradux env