ALlow prompt substitution. Fix java prompt