Fixing variable interpolation issues in the OS script.