Use wildfly variable and fixing HOME path
and missing wget