using HOME and USER variables on build hook