Add os-specific script initializer