Fixed sed-related bug with installer