Add ip env config + Fix app registered