Adding hostfile and java formulas